﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="News2.ascx.cs" Inherits="UserControls_News2" %>
<%@ Import Namespace="System.Data" %>
<link href="style/style.css" rel="stylesheet" type="text/css" />

<table border="0" cellspacing="0" cellpadding="0" id="tabctr" runat="server" style="border: 1px solid #eaeaea; text-align:left; height:300px">
    <tr style="height:40px">
        <td id="tdimg" runat="server" valign="top" width="100%">
            <span style="display: block; margin: 1px;" id="span1" runat="server">
                <img src="http://about" runat="server" id="tdnews" alt="最新消息"/></span>
        </td>
    </tr>
    <tr style="height:250px">
        <td valign="top" id="tdText" runat="server">
            <asp:DataList ID="dlNew" runat="server" Width="92%"  OnItemDataBound="dlNew_ItemDataBound" ItemStyle-VerticalAlign="Top">
                <ItemTemplate>
                    <table cellpadding="0" cellspacing="0" border="0" style="vertical-align:text-top">
                        <tr valign="top">
                            <%--<td width="26%" height="20" class="num">
                                <img id="imgArrow" runat="server" src="images/UserControls/list_icon_hover.gif" />
                            </td>--%>
                            <td id="tdtitle" runat="server"  style="vertical-align:top">
                                <asp:HyperLink ID="hlNews" runat="server" Text='<%# Eval("Title")%>' />
                                <asp:TextBox ID="tbID" runat="server" Visible="false" Text='<%# Eval("ID") %>'></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
     <tr>
        <td style="height:5px;">             
        </td>
    </tr>
</table>
